<?php
namespace app\api\route;
use think\facade\Route;
use app\api\middleware\Auth;
Route::group("staff", function () {
    Route::get('me', route: 'company.Staff/me');
    Route::get('files', route: 'company.Staff/files');
    Route::post('signEntry', route: 'company.Staff/signEntry');
    Route::post('save', route: 'company.Staff/save');
    Route::get('leaveInfo', route: 'company.Staff/leaveInfo');
    Route::post('signLeave', route: 'company.Staff/signLeave');
    Route::post('add', route: 'company.Staff/addStaff');
    Route::post('addFile',route: 'company.Staff/addFile');
    Route::get(':user_id', route: 'company.Staff/detail');
})->middleware([Auth::class]);